package com.hzit.config;

import com.hzit.entity.Classes;
import com.hzit.entity.Student;
import com.hzit.mapper.ClassesMapper;
import com.hzit.service.IClassesService;
import com.hzit.vo.StudentVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
import org.springframework.beans.factory.annotation.Autowired;


import java.util.List;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@Mapper
public interface MyConverter {
	MyConverter converter = Mappers.getMapper(MyConverter.class);
	StudentVo toStudentVo(Student student);
	List<StudentVo> toStudentVos(List<Student> students);
}
